package com.site.wisdom_construction.service.healthEpidemicModel;

import com.site.wisdom_construction.dao.healthEpidemicModel.AntiepidemicInformationDao;
import com.site.wisdom_construction.entity.healthEpidemicModel.AntiepidemicInformation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/5/4
 * @Description
 */
@Service
public class AntiepidemicInformationService implements AntiepidemicInformationDao {
    @Autowired
    private AntiepidemicInformationDao antiepidemicInformationDao;

    @Override
    public int insertAntiepidemicInformation(Map map) {
        return antiepidemicInformationDao.insertAntiepidemicInformation(map);
    }

    @Override
    public int deleteAntiepidemicInformation(Map map) {
        return antiepidemicInformationDao.deleteAntiepidemicInformation(map);
    }

    @Override
    public int updateAntiepidemicInformation(Map map) {
        return antiepidemicInformationDao.updateAntiepidemicInformation(map);
    }

    @Override
    public List<AntiepidemicInformation> findAntiepidemicInformationByPage(Map map) {
        return antiepidemicInformationDao.findAntiepidemicInformationByPage(map);
    }

    @Override
    public long Total(Map map) {
        return antiepidemicInformationDao.Total(map);
    }
}
